home *** CD-ROM | disk | FTP | other *** search
- Short: Make FTP script for UNIX system (v1.7)
- Author: domagal@uci.agh.edu.pl (Grzegorz Fitrzyk)
- Uploader: domagal@uci.agh.edu.pl (Grzegorz Fitrzyk)
- Type: comm/misc
-
- If you have rights to use account on UNIX based system and you're
- coming to internet by phone line, it will be very good way for you
- to save some money. Autor of this script is collecting some part
- of recent files which he will to download, and from time to time
- he is making script with many NCFTP commands. After it hi upload
- it to his account on UNIX system and turn it on by commands:
-
- screen -R
- chmod 700 script
- script
-
- press <ctrl-A-C> (it will open new screen)
- and when a screen is change hi is writing:
-
- screen -d
- logout
-
- Now hi turn off modem, and wait some time, and later hi doing FTP
- to his account and download all files.
- There is a many way to start script under UNIX but problem is that
- when you logout, your script is hangin off. This method is working.
- If on your server's no SCREEN command then try:
-
- batch < script
-
- By the way, if you have low priority as a user of server, you must
- wait some time when it will be done (e.g. few days). When it will
- be download to your account, you will receive e-mail with report.
-
- Also you can try AT command:
-
- at hh:mm < script
-
- (where hh:mm is time when script will be start) e.g:
-
- at 1:00 < script
-
- (at 1 o'clock script will start).
-
- This script is doing from RECENT file script for UNIX based system.
- For example, every line of your RECENT file it will change to chain
- of command:
- orginal line of RECENT file:
-
- ...
- WatchWatcher.lha util/time 14K+Checks your clock's sanity V1.3 By F.Ultra
- ...
-
- after use MakeFTPScript.rexx
-
- ...
- ncftp ftp.wustl.edu:pub/aminet/util/time/WatchWatcher.lha #14
- ncftp ftp.wustl.edu:pub/aminet/util/time/WatchWatcher.readme #0
- ...
-
- Usage: rx makeFTPScript.rexx ADDRESS/K SOURCE/K DEST/K README/S
- where: ADDRESS is address of ftp server where you like to download.
- SOURCE is filename of your RECENT file.
- DEST is filename of output file. (I'm using script name)
- README is switch which allow to make additional line with ".readme"
-
- Req: ARexx
- Filenote (System file)
-
-
- Usage: rx makeAMFTPScript.rexx SOURCE/K
- where: SOURCE is filename of your RECENT file.
-
- Use this script to make AMFTP batch file. Destination script is saved in T:
- directory.
-
-
- Usage: rx checkFTPScript.rexx SOURCE/K DEST/K DIR/K
- where: SOURCE is filename of script
- DEST is filename of new script
- DIR is directory with all files, which was download by SOURCE-script.
-
- Req: ARexx
- List (System file)
- Delete (System file)
- Filenote (System file)
-
- This script is needed for a situation when some files was missed by server.
- When you see that you don't have some files which was available in script file,
- you can use this checkFTPScript.rexx and it will make new script with all files
- what was lost.
-
- New feature! The script count total size of requested files and write it
- to COMMENT field of script file.
- New script CheckFTPScript.rexx now available!
- Two Batch-files for DOS usage (if you'll use this scripts with
- DOPUS, use Batch-file, because ARexx will have problem with
- path like "Ram Disk:script".
-
- Batch files:
-
- mkftp ADDRESS/K,SOURCE/K,DEST/K,README/S
-
- e.g.:
-
- mkftp ftp.wustl.edu ram:recent ram:script
-
-
- mkamftp SOURCE/K
-
- e.g.:
-
- mkamftp ram:recent
-
-
- ckftp SOURCE/K,DEST/K,DIR/K,INDEX/S
-
- e.g.:
-
- ckftp ram:script ram:script_new dh2:download index
-
-
- History:
-
- 1.2 Fixed problem with slash in DIR option.
-
- 1.3 Fixed problem with "?" as a size of file.
-
- 1.32 The script count total size of requested files and write it
- to COMMENT field of script file.
- New script CheckFTPScript.rexx now available!
-
- 1.4 MakeFTPScript is now making INDEX file. When you're using
- CheckFTPScript, script is checking size of downloaded files
- and comparing it to data in INDEX file. It's very useful
- when some files is truncated or size of it is zero.
-
- 1.5 Fixed few problems with MakeFTPScript. No public relase.
-
- 1.6 From now no additional files is generated (e.g. #?.ind)
- All informations about file size is stored in main script
- after "#" sign (UNIX comment).
-
- 1.7 Fixed bug in CheckFTPScript.rexx with ".readme" files.
- New script MakeAMFTPScript.rexx available.
- Script file from now have #MKFTP1 header (needed for DOPUS.
- Now you can doubleclick on script and Dopus can identify
- filetype and start CheckFTPScript.rexx).
-